import React,{ Component } from 'react';

import actionCreators from 'store/tuan1/actionCreators'
import getStore from 'utils/get_store'

import List from '../list/List';

class McHealth extends Component{


    componentDidMount(){
  
        this.props.getData('mc_health');
    }



    render () {
        return (
            <List data = { this.props.data && this.props.data}></List>
        )
    }


    componentDidUpdate(){
        // console.log(this.props.data);
    }


}

export default getStore({
    actionCreators,
    UIComponent: McHealth,
    type: 'tuan1'
  });